#ifndef STARSTAR_H
#define STARSTAR_H

#include <QWidget>

namespace Ui {
class StarStar;
}

class StarStar : public QWidget
{
    Q_OBJECT

public:
    explicit StarStar(QWidget *parent = 0);
    ~StarStar();

protected:
    void paintEvent(QPaintEvent *e);
    void timerEvent(QTimerEvent *e);

private:
    Ui::StarStar *ui;

    int x[200], y[200];
    int x1, y1;
    int timerId;
    int star_array[200];
};

#endif // STARSTAR_H
